#ifndef TAG_H
#define TAG_H
#include <QObjectUserData>
#include <QObject>

#define ROLE_TAG (Qt::UserRole + 1)

class UserIntData: public QObjectUserData
{
public:
    UserIntData(int nData);
    int data();
private:
    int mnData;
};

class Tag: public QObjectUserData
{
public:
    Tag(QObject *pData);
    QObject *data();

private:
    QObject *mpData;
};

#endif // TAG_H
